package com.itmate.wei.service;

import java.util.List;

import com.itmate.wei.dao.MemberDao;
import com.itmate.wei.entity.Family;
import com.itmate.wei.entity.Member;

public class MemberService {
	private MemberDao dao=new MemberDao();
	public int AddMember(Member m){
		return dao.AddMember(m);
	}
	public List<Member> SelectAllMember(){
		return dao.SelectAllMember();
	}
	public int DeleteByID(int id){
		return dao.DeleteByID(id);
	}
	public int UpdateMember(Member m){
		return dao.UpdateMember(m);
	}
	public List<Member> SelectLikeName(String text){
		return dao.SelectLikeName(text);
	}
	public List<Family> SelectAllFamily(){
		return dao.SelectAllFamily();
	}
}
